﻿using MDCAdminTool.Commands;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Windows.Input;
using System.Reflection;
using MDCAdminTool;
using MDCAdminTool.Controls;
using Microsoft.ApplicationServer.Caching.AdminApi;
using System.Threading;
using System.ServiceProcess;

namespace IntegrationTests
{


    /// <summary>
    ///This is a test class for StopCacheHostTest and is intended
    ///to contain all StopCacheHostTest Unit Tests
    ///</summary>
    [TestClass()]
    public class tmpTest:BaseTest
    {

        protected static CacheHost CacheHost;


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes

        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //    App application = new App();
        //    application.InitializeComponent();
        //    new MainWindow();
        //    var clusters = new Clusters();
        //    clusters.UseLocalCacheCluster();
        //    App.Clusters = clusters;
        //    clusters[0].LoadCacheHosts();
        //    CacheHost = clusters[0].getHosts[0];
            
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        [TestMethod()]
        public void tmp()
        {
            RevertVMs();   
        }
        

    }
}
